package util;

public class FrameContent {

	protected OrderedMap<Action, Object> actions = new OrderedMap<Action, Object>();
	protected boolean paused;

	public void setPaused (boolean paused) {
		this.paused = paused;
	}

	public boolean isPaused () {
		return paused;
	}

	public void setContent (FrameContent content) {
		actions = content.actions;
	}

	public void setContent (OrderedMap<Action, Object> events) {
		actions = events;
	}

	public void addAction (Action a, Object param) {
		actions.add(a, param);
	}

	public void removeAction (OrderedMap.Entry<Action, Object> action) {
		actions.remove(action);
	}

}
